
import 'package:freezed_annotation/freezed_annotation.dart';

part 'WordBookVo.g.dart';

///WordBookVo
@JsonSerializable()
class WordBookVo {

  ///创建时间
  @JsonKey(name: "createTime")
  String? createTime;

  ///词书介绍
  @JsonKey(name: "description")
  String? description;

  ///雪花ID
  @JsonKey(name: "id")
  String? id;

  ///词书名
  @JsonKey(name: "name")
  String? name;

  ///最近一次更新时间
  @JsonKey(name: "updateTime")
  String? updateTime;

  ///词书总单词数量
  @JsonKey(name: "wordCount")
  int? wordCount;

  WordBookVo({
    this.createTime,
    this.description,
    this.id,
    this.name,
    this.updateTime,
    this.wordCount,
  });

  factory WordBookVo.fromJson(Map<String, dynamic> json) => _$WordBookVoFromJson(json);

  Map<String, dynamic> toJson() => _$WordBookVoToJson(this);
}